package com.chen.loop;

public class WhileDemo {
    public static void main(String[] args) {
        // 目标，掌握while循环的语法，执行流程
        test1();
    }
    public static void test1() {
        int i = 0;
        while (i < 3) {
            System.out.println("hello world");
            i++;
        }
    }

}
